package com.wjc.train.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.member.entity.Passenger;
import com.wjc.train.member.req.PassengerQueryReq;
import com.wjc.train.member.resp.PassengerQueryResp;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 乘车人表 Mapper 接口
 * </p>
 *
 * @author Guessed
 * @since 2023-07-26
 */
public interface PassengerMapper extends BaseMapper<Passenger> {

    IPage<PassengerQueryResp> queryList(@Param("page") IPage<PassengerQueryResp> page,
                                       @Param("passengerQueryReq") PassengerQueryReq passengerQueryReq);
}
